﻿Public Partial Class VerProgramacionAsignada
    Inherits System.Web.UI.Page

    Private Sub VerProgramacionAsignada_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
        SetearControles()
    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Session("UsuarioIDucMiProgramacion") = Session("UsuarioID")
    End Sub

#Region "Metodos"

    Private Sub SetearControles()
        '//Inicializo propiedades en ambos controles
        Dim strPeriodo As String = Date.Now.Year.ToString() + "/" + Date.Now.Month.ToString()
        ucMiProgramacion1.NombreParaMostrar = "Plan de Vuelo"
        ucMiProgramacion1.TipoMiProgramacion = Dominio.ETipoProgramacion.PlanVuelo
        ucMiProgramacion1.PeriodoProgramacion = strPeriodo
    End Sub

#End Region

End Class